package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the VALQUEUE database table.
 * 
 */
@Entity
@Table(name="VALQUEUE")
public class Valqueue implements Serializable {
	private static final long serialVersionUID = 1L;
	private long valid;
	private Date addedon;
	private Date expiresat;
	private BigDecimal expuid;
	private Date processedon;
	private String statuscode;
	private String valcode;
	private String valhandler;

    public Valqueue() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getValid() {
		return this.valid;
	}

	public void setValid(long valid) {
		this.valid = valid;
	}


    @Temporal( TemporalType.DATE)
	@Column(nullable=false)
	public Date getAddedon() {
		return this.addedon;
	}

	public void setAddedon(Date addedon) {
		this.addedon = addedon;
	}


    @Temporal( TemporalType.DATE)
	@Column(nullable=false)
	public Date getExpiresat() {
		return this.expiresat;
	}

	public void setExpiresat(Date expiresat) {
		this.expiresat = expiresat;
	}


	public BigDecimal getExpuid() {
		return this.expuid;
	}

	public void setExpuid(BigDecimal expuid) {
		this.expuid = expuid;
	}


    @Temporal( TemporalType.DATE)
	public Date getProcessedon() {
		return this.processedon;
	}

	public void setProcessedon(Date processedon) {
		this.processedon = processedon;
	}


	@Column(nullable=false, length=1)
	public String getStatuscode() {
		return this.statuscode;
	}

	public void setStatuscode(String statuscode) {
		this.statuscode = statuscode;
	}


	@Column(nullable=false, length=255)
	public String getValcode() {
		return this.valcode;
	}

	public void setValcode(String valcode) {
		this.valcode = valcode;
	}


	@Column(nullable=false, length=255)
	public String getValhandler() {
		return this.valhandler;
	}

	public void setValhandler(String valhandler) {
		this.valhandler = valhandler;
	}

}